package cn.wolfcode.ssm.mapper;

import cn.wolfcode.ssm.domain.Permission;
import cn.wolfcode.ssm.query.QueryObject;
import java.util.List;

public interface PermissionMapper {
    void insert(Permission record);

    void updateByPrimaryKey(Permission record);

    void deleteByPrimaryKey(Long id);

    Permission selectByPrimaryKey(Long id);

    List<Permission> selectAll();

    List<Permission> list(QueryObject qo);

    List<Permission> selectedByRid(Long id);

    List<String> selectAllexpression();

    List<String> selectedByEmpId(Long id);

}